package com.example.springboot_ruiji.service;

import com.example.springboot_ruiji.common.R;
import com.example.springboot_ruiji.pojo.Dish;
import com.example.springboot_ruiji.pojo.DishDTO;


public interface DishService {
    R page(String name, Integer page, Integer pageSize);

    void save(DishDTO dishDto);

    DishDTO findById(Long id);

    void updateDish(DishDTO dishDto);

    R batchDelete(String ids);

    R list(Long categoryId);

    R dishStatusByStatus(DishDTO dishDTO, String ids, Integer status);
}
